package com.ruoyi.web.controller.wb;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.wb.service.IWbStatisticsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags="维保统计")
@RestController
@RequestMapping("/wb/statistics")
public class WbStatisticsController {

@Autowired
IWbStatisticsService wbStatisticsService;


    /**
     * 查询签到列表
     */
    @ApiOperation("查询统计列表")
    @GetMapping("/count")
    public AjaxResult count() {
        return AjaxResult.success(wbStatisticsService.count());
    }


}
